package com.cbd.middleware.poi.dto;

import com.cbd.middleware.poi.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class UserDTO {
    @ExcelProperty(name = "用户ID", index = 0)
    private Long userId;
    @ExcelProperty(name = "用户名称", index = 1)
    private String userName;
    @ExcelProperty(name = "年龄", index = 3)
    private Integer age;
    @ExcelProperty(name = "资产", index = 2)
    private BigDecimal money;
}
